// Namespace declaration

#include <iostream>
using namespace std;


namespace ns1 {
	int g_value = 0;
	int g_other = 0;
}

namespace ns2 {
	int g_value = 0;
	int g_other = 0;
}


int main( void ){
	using namespace ns1;
	using ns2::g_value; // check

	g_value = 8888;
	cout << "ns1::g_value = " << ns1::g_value << endl;
	cout << "ns2::g_value = " << ns2::g_value << endl;

	g_other = 6666;
	cout << "ns1::g_other = " << ns1::g_other << endl;
	cout << "ns2::g_other = " << ns2::g_other << endl;
	
	return 0;
}




